package com.open.system.service;

import com.open.system.domain.LoanFileDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author xxx
 * @email xxxx
 * @date xxxx-09-10 11:53:11
 */
public interface LoanFileService {
	
	LoanFileDO get(Long id);
	
	LoanFileDO getLastNewInfo(Map<String, Object> map);
	
	LoanFileDO getLastNewGuaranteeInfo(Map<String, Object> map);
	
	List<LoanFileDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	List<LoanFileDO> list2(Map<String, Object> map);
	
	int count2(Map<String, Object> map);
	
	int save(LoanFileDO loanFile);
	
	int update(LoanFileDO loanFile);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

    int updateHasemptyByUserId(Long id);
}
